#include <stdio.h>
#include <unistd.h>
#include "ohos_init.h"
#include "los_sys.h"
#include "los_task.h"

VOID Example_TransformTime(VOID)
{
    UINT32 ms;
    UINT32 tick;

    tick = LOS_MS2Tick(10000);    // 10000msתΪtick
    dprintf("tick = %d \n",tick);
    ms = LOS_Tick2MS(100);        // 100tickתΪms
    dprintf("ms = %d \n",ms);
}
APP_FEATURE_INIT(Example_TransformTime);